package com.shanzmoo.db.logistics.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 发货单商品明细
 * </p>
 *
 * @author Gzhao
 * @since 2020-12-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@EqualsAndHashCode(callSuper = false)
@TableName("delivery_sku_detail")
public class DeliverySkuDetailEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发货单id
     */
    private Integer deliveryId;

    /**
     * 商品编码
     */
    private String sku;

    /**
     * 商品名称
     */
    private String skuName;

    /**
     * 商品单位
     */
    private String unit;

    /**
     * 规格属性描述
     */
    private String attributeDesc;

    /**
     * 商品数量
     */
    private Integer skuNum;


}
